// IBoseCmd.aidl
package com.bose;

// Declare any non-default types here with import statements

interface IBoseCmd {
    /*String for call linux shell command*/
    int CallSystem(in String cmd);

    /*String for call linux shell command, redirect stdio/stderr prints as result*/
    byte[] CallPopen(in String cmd, out int[] errorCodes);

    int SendMessage(in byte[] message);

    byte[] GetMessage(in byte[] message, out int[] errorCodes);
}